UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

OL 8 must be configured to disable the ability to use USB mass storage devices.


Overview

Finding ID Version Rule ID IA Controls Severity
V-248837 OL08-00-040080 SV-248837r818697_rule Medium
Description
USB mass storage permits easy introduction of unknown devices, thereby facilitating malicious activity.
STIG Date
Oracle Linux 8 Security Technical Implementation Guide 2023-03-06

Details

Check Text ( C-52271r818695_chk )
Verify the operating system disables the ability to load the USB Storage kernel module.

$ sudo grep -r usb-storage /etc/modprobe.d/* | grep -i "/bin/true"

install usb-storage /bin/true

If the command does not return any output, or the line is commented out, and use of USB Storage is not documented with the Information System Security Officer (ISSO) as an operational requirement, this is a finding.

Determine if USB mass storage is disabled with the following command:

$ sudo grep usb-storage /etc/modprobe.d/* | grep -i "blacklist" | grep -v "^#"

/etc/modprobe.d/blacklist.conf:blacklist usb-storage

If the command does not return any output or the output is not "blacklist usb-storage" and use of USB storage devices is not documented with the Information System Security Officer (ISSO) as an operational requirement, this is a finding.
Fix Text (F-52225r818696_fix)
Configure OL 8 to disable the ability to use the USB Storage kernel module and to use USB mass storage devices.

$ sudo vi /etc/modprobe.d/blacklist.conf

Add or update the lines:

install usb-storage /bin/true
blacklist usb-storage

Reboot the system for the settings to take effect.